﻿using System.Web.Optimization;

namespace Sharp.WebBooter.Areas.Platform
{
    public class BundleProfile
    {
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/Platform/app")
            {
                Orderer = new AppJsBundleOrderer()
            }
            .Include("~/Areas/Platform/Scripts/app*"));


            var css = new StyleBundle("~/Platform/csslib");
            css.Transforms.Clear();
            css.Include("~/Areas/Platform/Content/app*");
            bundles.Add(css);
        }
    }
}